From c12ca8a52d27b1931d826df10119984f2a7c58dd Mon Sep 17 00:00:00 2001 From: schererleander Date: Wed, 2 Jul 2025 22:18:13 +0200 Subject: feat: add authentication API --- src/app/api/auth/[...nextauth]/route.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/app/api/auth/[...nextauth]/route.ts (limited to 'src/app/api/auth/[...nextauth]/route.ts') diff --git a/src/app/api/auth/[...nextauth]/route.ts b/src/app/api/auth/[...nextauth]/route.ts new file mode 100644 index 0000000..264f925 --- /dev/null +++ b/src/app/api/auth/[...nextauth]/route.ts @@ -0,0 +1,6 @@ +import NextAuth from "next-auth" +import { authOptions } from "@/lib/auth" + +const handler = NextAuth(authOptions) + +export { handler as GET, handler as POST } \ No newline at end of file -- cgit v1.3.1